package com.clickpaas.governmentcloud.utils.entityutils;

import java.lang.annotation.*;

/**
 * 
 * 接口入参对象字段校验 
 * 
 * @author quhongwei E-mail:quhongwei@cs91tech.com
 * @created 2020-09-18 下午3:26:55 
 * @version 1.0
 * 
 */
@Target({ElementType.FIELD,ElementType.METHOD})
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface ConditionalNotEmpty {
	/**
	 * 描述: 是否加字段非空判断,同时需要在字段中添加@ConditionalNotEmpty注解,并添加errorMessage信息, true开启，默认false关闭
	 * @return
	 */
	String errorMessage() default "";
}
